
<template>
  <view class="page-container">
    <!-- 顶部导航 -->
    <view class="nav-bar">
      <view class="nav-left">
        <uni-icons type="back" size="24" color="#000000" />
      </view>
      <view class="nav-title">注册</view>
      <view class="nav-right">
        <uni-icons type="more-filled" size="24" color="#000000" />
      </view>
    </view>

    <!-- 主要内容区 -->
    <view class="main-content">
      <view class="success-icon">
        <uni-icons type="checkmarkempty" size="80" color="#07C160" />
      </view>
      <text class="success-text">注册成功</text>
      <button class="edit-button">个人资料编辑</button>
    </view>
  </view>
</template>

<script lang="ts" setup>
import { ref } from 'vue';
</script>

<style>
page {
  height: 100%;
}

.page-container {
  height: 100%;
  background-color: #FFF0F0;
  display: flex;
  flex-direction: column;
}

.nav-bar {
  height: 88rpx;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32rpx;
  background-color: transparent;
  flex-shrink: 0;
}

.nav-left {
  width: 48rpx;
  height: 48rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-title {
  font-size: 16px;
  font-weight: 500;
  color: #333333;
}

.nav-right {
  width: 48rpx;
  height: 48rpx;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.success-icon {
  width: 160rpx;
  height: 160rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32rpx;
}

.success-text {
  font-size: 16px;
  color: #333333;
  margin-bottom: 64rpx;
  display: block;
}

.edit-button {
  width: 320rpx;
  height: 88rpx;
  line-height: 88rpx;
  background-color: #FF7F7F;
  color: #FFFFFF;
  font-size: 14px;
  border-radius: 44rpx;
  margin: 0;
}

.edit-button:active {
  opacity: 0.8;
}
</style>

